package com.cats.event;

import java.util.EventObject;

public class LoginEvent extends EventObject {

	private static final long serialVersionUID = 9178729903244112907L;
	public static final String SUCCESS = "success";
	public static final String FAILED = "failed";
	private String result = SUCCESS; // default result
	public LoginEvent(Object source) {
		super(source);
	}
	
	public LoginEvent(Object source, String resultString) {
		super(source);
		this.result = resultString;
	}
	
	public String getLoginResult() {
		return this.result;
	}
}
